package sort;

public interface MyInterface {
    public static final int age = 20;
    int max = 30;


    void method1(); //等价于 public abstract void method1();

    default void method2() {

    }

    class Innerclass {

    }

    static String method3() {
        return "Hello World";
    }
}

class A implements MyInterface{
    @Override
    public void method1() {

    }

    @Override
    public void method2() {

    }

}